<?php
include_once('services.common.php');

class fileHanlder {

	protected static $instance = null;
	private $db 	= null;
	private $log 	= null;
	private $config = null;

	public function fileHanlder(){
		$this->db = DataService::getInstance();
		$this->log = Logger::getRootLogger();
		$this->config = simplexml_load_file(CONFIG_FILE);
	}
	
	public function getInstance(){
		if (self::$instance == null) 
			self::$instance = new fileHanlder();
		return(self::$instance);
	}
	
	public function getTicket(){
	
		return 1;
	
	}

	public function updateOrAdd_adjunto($data){
	
		return 2;
	
	}
	
	public function get_adjuntos($data){
	
		return 3;
	
	}
}

?>